import Vue from 'vue'
import Router from 'vue-router'
import home from '@/components/home/Home'
import city from '@/components/city/City'
import shops from '@/components/shops/Shop.1'
import citylist from '@/components/city/citys/city'
import find from '@/components/find/find'
import order from '@/components/order/order'
import yyzz from '@/components/yyzz/yyzzs'
import user from '@/components/users/userss'
import login from '@/components/login/login'
Vue.use(Router)
export default new Router({
  routes: [
    {
      path: '/',
      name: 'home',
      component: home
    },
    {
      path: '/city',
      name: 'city',
      component: city
    },
    {
      path: '/shops/:id',
      name: 'shops',
      component: shops
    },
    {
      path: '/city/citylist',
      name: 'citylist',
      component: citylist
    },
    {
      path: '/find',
      name: 'find',
      component: find
    },
    {
      path: '/order',
      name: 'order',
      component: order
    },
    {
      path: '/yyzz',
      name: 'yyzz',
      component: yyzz
    },
    {
      path: '/user',
      name: 'user',
      component: user
    },
    {
      path: '/login',
      name: 'login',
      component: login
    }
  ]
})
